use std::collections::HashSet;
pub fn new_count_distinct(input_str: &str) -> usize {
    let unique_elements: HashSet<_> = input_str
        .split(',')
        .map(|s| s.trim())
        .collect();

    unique_elements.len()
}
